package examples.config.web;

import org.springframework.context.annotation.Configuration;

/**
 * @author wenxy
 * @create 2020-05-24 024
 */
@Configuration
public class WebSecurityConfig {
/*
    @Bean
    public WebSecurityConfigurerAdapter webSecurityConfigurerAdapter(){
        return new WebSecurityConfigurerAdapter() {
            @Override
            public void configure(WebSecurity web) throws Exception {
                super.configure(web);
            }
    
            @Override
            protected void configure(HttpSecurity http) throws Exception {
                super.configure(http);
                http.authorizeRequests().anyRequest().authenticated()
                        .and()
                        .formLogin().permitAll();
            }
        };
        
        
    }*/
}
